package main

import "fmt"

func main() {
	ii := []int{1, 3, 5}
	fmt.Println(ii)
	clear(ii)
	fmt.Println(ii)
	fmt.Println(len(ii), cap(ii))

	m := map[int]string{}
	m[1] = "111"
	m[2] = "222"
	m[3] = "333"
	fmt.Println(m)
	clear(m)
	fmt.Println(m)
	fmt.Println(len(m))
}
